#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <windows.h>

int main()
{ 
	char str1[] = {"I am your father"};
	char str2[] = { "****************" };
	int right = strlen(str1) - 1;
	int left = 0;
	while (left <= right)
	{
		str2[left] = str1[left];
		str2[right] = str1[right];
		printf("%s", str2);
		Sleep(1000);
		//printf("\r");
		system("cls");
		left++;
		right--;
	}
	printf("%s", str2);

}